What does RKNet do?
-------------------
RKNet allows to connect 2 RK instances running on different computers,
which are connected in a network environment.
If they are connected, every kind of RK-commands/-scripts can be send
to the other RK instance. To shut down the other machine or to send a
message to another person are only 2 of thousands examples.
This works bi-directional.

RKNet works with 2 Windows components:
1. DDE (Dynamic Data Exchange)
2. Winsock (UDP-protocol, peer-to-peer)

    Computer A			    Computer B
=====================		=====================
           DDE         Winsock        DDE
           --->       --- + -->       --->
RemoteKeys      RKNet     +     RKNet      RemoteKeys
	   <---       <-- + ---       <---


RKNet v0.8 was tested in a network connection between W98 and ME.


How to provide the configuration?
---------------------------------
1. First you must know the names of the computers you want a RK-data exchange.
They should be listed in your network folder, or use Windows function
"Find computers". Leave the input line blank and click OK.

2. There must be a small change in DDE setting of RK.
Open Preferences dialog > DDE-Setting.
Change Receive text from "RemoteKeys|RK_DDE" to "RKNet|RK_DDE"
Before closing the dialog be sure that DDE option in Preferences is checked.

Computer A:
3. Open RKNet.exe
Enter the computer name of computer B into the Remote-Host line.
Click "Save" and "Exit".

Computer B:
3. Open RKNet.exe
Enter the computer name of computer A into the Remote-Host line.
Check "Client" (will autom. save)
Click "Exit".

Check Connection
----------------
1. Create a button with command:
{/ME.RKNET}
and give it a name like "RKNet".

2. Create a 2nd button with a script:
{/BTCH.EXPLICIT}
{/BTCH.DDE.BEGIN}
{/BTCH.MSG.TEXT This is a test.}
{/BTCH.DDE.END}
and give it a name like "NetTest"

3. Same procedure on computer B.

4. Click "RKNet"-button on computer A
   Minimize the RKNet-window if wanted.

5. Click "RKNet"-button on computer B
   Minimize the RKNet-window if wanted.

6. Click "NetTest"-button on computer A

Maybe the Windows connection dialog opens.
Close it by "Cancel".

Now a requester with "This is a test." should open
on computer B. Maybe the requester is minimized or
not on top of the screen.

7. Click "NetTest"-button on computer B.

Note! RKNet must run on both! machines to get a data exchange.
I hope everything works fine.


Connecting more than 2 computers
--------------------------------
First I must say that I could not check this possibility
because there are only 2 computers in my network environment.
But I hope it works like this.

You need a copy of "Network connection" maybe named as ...#2.
Than open RKNetPref.dat with an editor.
Change values for Port,Server/-Client from 1001/1002 to 1003/1004.
Change these values in the same way on computer C.
Now use first instance of RKNet with original prefs.dat to communicate
with computer B and 2nd instance of RKNet with modified prefs.dat to
communicate with computer C.

The Server-/Client option switches automatically the port numbers.
But if you make changes by hand you should know that in standard
configuration the values are as follow:

Computer A (Server):
Port,Server : 1001
Port,Client : 1002

Computer B (Client):
Port,Server : 1002
Port,Client : 1001

If you work with computer C, change the values in the same way.


Why RKNet is a separate tool and not integrated in RemoteKeys?
---------------------------------------------------------------
RKNet needs the MSWINSCK.OCX. RK should not be dependent on this library,
because RK comes without installer.
The MSWINSCK.OCX can be downloaded from freewarehits.de.
